package com.pinda.auth.view;

import com.pinda.auth.entity.PdAuthMenu;
import com.pinda.auth.entity.PdAuthResource;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * TODO 菜单视图类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class PdAuthMenuView {
    /**
     * 所有菜单
     */
    private List<PdAuthMenu> menus;
    /**
     * 所有资源
     */
    private List<PdAuthResource> resources;
}
